package com.ostrich.cloud.ostrichOrderService.infra.mapper;

import com.ostrich.cloud.ostrichOrderService.infra.model.Order1;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ostrich.cloud.ostrichOrderService.infra.param.StoreOrderSearchParamInfra;
import com.ostrich.cloud.ostrichOrderService.model.dto.StoreOrderDto;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 订单表 Mapper 接口
 * </p>
 *
 * @author Lucas
 * @since 2022-10-26
 */
public interface Order1Mapper extends BaseMapper<Order1> {
//    @Select("select total_amount,pay_price,deduction_price,create_time,status from order1 where businessman_id=#{infra.businessmanId} and order_no like '%#{infra.orderNo}%' and create_time between #{infra.startTime} and #{infra.finishTime}")
//    List<StoreOrderDto> storeOrder(StoreOrderSearchParamInfra infra);
}
